package com.hospital.search.module;

import com.hospital.common.config.GlobalHandlerConfig;
import com.hospital.common.config.WebConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import({GlobalHandlerConfig.class, WebConfig.class})
@EnableDiscoveryClient
@MapperScan("com.hospital.search.module.mapper")
public class SearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class, args);
    }
}
